<ion-modal-view  ng-controller="loginController">
    <ion-header-bar>
        <button ng-click="FanHui()">返回</button>
        <h1 class="title">用户登录</h1>
    </ion-header-bar>
    <ion-content>
        <div class="list">
            <label class="item item-input">
                <span class="input-label">用户名</span>
                <input type="text" ng-model="user.username">
            </label>
            <label class="item item-input">
                <span class="input-label">密码</span>
                <input type="password" ng-model="user.password">
            </label>
        </div>
        <div class="padding-horizontal">
            <button class="button button-block button-balanced"
                    ng-click="loginClick()"
            >登录</button>
            <button class="button button-block button-balanced"
                    ng-click="zhuceClick()"
            >没有账号？请注册</button>
        </div>
    </ion-content>
</ion-modal-view>